Introducing SNMP Traps

What is SNMP?

Some VBVoice applications are deployed on multiple telephony servers, in many remote locations. With a larger number of servers, control and monitoring becomes difficult, if not impossible, without some automation. The Simple Network Management Protocol (SNMP) provides a simple, yet effective solution.

In general, the SNMP model consists of a network management station and the devices that are managed. Managed devices include SNMP agents, which monitor network devices and store statistics in Management Information Bases (MIB). An MIB is a hierarchical database of objects that can be monitored and managed by a network management system.

The management application polls agents regularly to extract MIB contents. If data from an MIB does not meet or exceeds a certain criterion, an alarm is generated.

SNMP offers four basic functions:

A network management station uses query / get / change commands to inspect, configure, and monitor a network device through the MIB. It uses the fourth, recognize events, to detect traps from managed devices.

Today, SNMP is supported by virtually every enterprise network equipment manufacturer worldwide.

SNMP and VBVoice: How it Works

VBVoice uses the SNMP trap mechanism to raise application level alarms that may be combined at the management station with information coming from other SNMP-aware devices, such as telephony cards, switches, and network devices, which can generate traps of their own. The general SNMP query, and get and change operations are not supported in VBVoice.

SNMP in VBVoice is part of the NLog monitoring tool and is implemented on top of the SNMP support built into Microsoft Windows. Generating a SNMP trap from VBVoice is done in two steps:

  1. VBVoice adds an error message into the Windows NT Event Log.

  2. The Windows NT Event Log sends the VBVoice error message to the management station as a SNMP trap.

Specifically, VBVoice errors are classified by severity into three levels, which are then translated into three Windows NT Events:

Simply setup the windows to translate some or all of these particular events into SNMP traps. This setup procedure is done in Windows and does not involve VBVoice at all. The Windows events to SNMP trap utility allows you to choose the EventID(s) from which you want to generate SNMP traps. Read more about using this utility.

You can turn off and on the Windows NT logging from VBVoice, choose the level of severity to log, and change the level of severity for each error.

NOTE: Explanations are based on Windows 2000. For other operating systems, please refer to MSDN.

Read About:

Installing TCP/IP stack and SNMP Service

 

Configuring SNMP Traps

 

Setting Trap Destinations

 

Changing Error Security Level

 

Testing SNMP Traps

 

VBVConfig and modifying INI settings

 

Sending Custom Errors to Log Using AddErrorItem

 

List of VBVoice runtime errors